Add npm check to validate no unwanted licenses are used in node modules#27832
Merged
findepi merged 1 commit intotrinodb:masterfrom Feb 12, 2026
Merged
Add npm check to validate no unwanted licenses are used in node modules#27832findepi merged 1 commit intotrinodb:masterfrom
findepi merged 1 commit intotrinodb:masterfrom
Conversation
31e26f3 to
3e7b7eb
Compare
3e7b7eb to
316dad5
Compare
f59bc87 to
9f2c08c
Compare
Member
|
I think thats a good idea. We might need to expand to other licenses that are incompatible with Apache but this is a good start |
9f2c08c to
8e7934d
Compare
Contributor
Author
|
Note to self: {
"license": "0BSD",
"license": "AGPL-3.0-or-later", // In PR #27779
"license": "Apache-2.0",
"license": "BSD-2-Clause",
"license": "BSD-3-Clause"
"license": "BSD-3-Clause",
"license": "CC-BY-4.0"
"license": "ISC"
"license": "ISC",
"license": "MIT",
"license": "MIT",
"license": "MIT AND ISC",
"license": "OFL-1.1",
"license": "Python-2.0",
"license": "Unlicense"
}And for the original webapp: {
"license": "Apache-2.0"
"license": "Apache-2.0",
"license": "BSD-2-Clause"
"license": "BSD-2-Clause",
"license": "BSD-3-Clause"
"license": "BSD-3-Clause",
"license": "CC-BY-4.0"
"license": "ISC"
"license": "ISC",
"license": "MIT"
"license": "MIT",
} |
findepi
reviewed
Jan 7, 2026
findepi
reviewed
Jan 7, 2026
b36d113 to
0e0b581
Compare
chenjian2664
reviewed
Jan 9, 2026
0e0b581 to
2a0520e
Compare
findepi
reviewed
Jan 20, 2026
2a0520e to
5a4a901
Compare
5a4a901 to
6a4634e
Compare
martint
reviewed
Feb 5, 2026
6a4634e to
c2b59ba
Compare
Member
|
Merged, thanks! |
Member
|
I can no longer compile unless I modify the file: Is this normal? |
Member
|
thank you @prrvchr for heads up. this should help |
Member
|
@findepi Your welcome |
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Added
npm run check:licensesto check if thepackage-lock.jsoncontains any unwanted license like AGPL.Live demo in this PR #27779
Release notes
( X ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text: